package com.ruoyi.system.domain.vo;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Min;

import com.ruoyi.system.domain.Question;
import lombok.EqualsAndHashCode;
import lombok.Data;


/**
 * 问题记录对象VO类
 *
 * @author ruoyi
 * @date 2025-01-04
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class QuestionVO extends Question {
    private static final long serialVersionUID = 1L;

	@NotNull(message = "页数不能为空")
    @Min(value = 1, message = "页数必须为正整数")
    private Integer pageNum;

	@NotNull(message = "条数不能为空")
    @Min(value = 1, message = "条数必须为正整数")
    private Integer pageSize;
}
